﻿using System;
using System.Collections.Generic;
using System.Text;

namespace TaxEntity.House
{
    /// <summary>
    /// 房主信息
    /// </summary>
    [Serializable]
    public class HouseInfoEntity
    {
        public HouseInfoEntity()
        { }

        private long id;
        private string certificateID;
        private string name;
        private string iDCardNum;
        private int departmentID;
        private long managerID;
        private DateTime? certificateDate;
        private int? yearLimit;
        private string buildingNum;
        private int? xiangzhenID = 0;
        private int? jiedaoID = 0;
        private int? diduanID;
        private decimal? tudiArea;
        private decimal? fangchanArea;
        private decimal? originalPrice;
        private decimal? remainPrice;
        private string houseType;
        private string mobileCode;
        private string telephone;
        private string address;
        private string memo;
        private long? optUserID;
        private int? status = 1;
        private DateTime? addTime = DateTime.Now;
        private DateTime? modifyTime;

        /// <summary>
        /// 自增编号
        /// </summary>
        public long Id
        {
            set { id = value; }
            get { return id; }
        }
        /// <summary>
        /// 房产证编号
        /// </summary>
        public string CertificateID
        {
            set { certificateID = value; }
            get { return certificateID; }
        }
        /// <summary>
        /// 房主姓名
        /// </summary>
        public string Name
        {
            set { name = value; }
            get { return name; }
        }
        /// <summary>
        /// 户主身份证号码
        /// </summary>
        public string IDCardNum
        {
            set { iDCardNum = value; }
            get { return iDCardNum; }
        }
        /// <summary>
        /// 所属部门编号
        /// </summary>
        public int DepartmentID
        {
            set { departmentID = value; }
            get { return departmentID; }
        }
        /// <summary>
        /// 管理员编号
        /// </summary>
        public long ManagerID
        {
            set { managerID = value; }
            get { return managerID; }
        }
        /// <summary>
        /// 发证日期
        /// </summary>
        public DateTime? CertificateDate
        {
            set { certificateDate = value; }
            get { return certificateDate; }
        }
        /// <summary>
        /// 使用期限
        /// </summary>
        public int? YearLimit
        {
            set { yearLimit = value; }
            get { return yearLimit; }
        }
        /// <summary>
        /// 门牌号码
        /// </summary>
        public string BuildingNum
        {
            set { buildingNum = value; }
            get { return buildingNum; }
        }
        /// <summary>
        /// 乡镇ID
        /// </summary>
        public int? XiangzhenID
        {
            set { xiangzhenID = value; }
            get { return xiangzhenID; }
        }
        /// <summary>
        /// 街道ID
        /// </summary>
        public int? JiedaoID
        {
            set { jiedaoID = value; }
            get { return jiedaoID; }
        }
        /// <summary>
        /// 所在地段
        /// </summary>
        public int? DiduanID
        {
            set { diduanID = value; }
            get { return diduanID; }
        }
        /// <summary>
        /// 土地面积
        /// </summary>
        public decimal? TudiArea
        {
            set { tudiArea = value; }
            get { return tudiArea; }
        }
        /// <summary>
        /// 房产面积
        /// </summary>
        public decimal? FangchanArea
        {
            set { fangchanArea = value; }
            get { return fangchanArea; }
        }
        /// <summary>
        /// 房产计税面积
        /// </summary>
        public decimal? OriginalPrice
        {
            set { originalPrice = value; }
            get { return originalPrice; }
        }
        /// <summary>
        /// 房产原值
        /// </summary>
        public decimal? RemainPrice
        {
            set { remainPrice = value; }
            get { return remainPrice; }
        }
        /// <summary>
        /// 房产类型:闲置,自用,出租,拆除（实时）
        /// </summary>
        public string HouseType
        {
            set { houseType = value; }
            get { return houseType; }
        }
        /// <summary>
        /// 房主手机号码
        /// </summary>
        public string MobileCode
        {
            set { mobileCode = value; }
            get { return mobileCode; }
        }
        /// <summary>
        /// 房主固定电话
        /// </summary>
        public string Telephone
        {
            set { telephone = value; }
            get { return telephone; }
        }
        /// <summary>
        /// 家庭地址
        /// </summary>
        public string Address
        {
            set { address = value; }
            get { return address; }
        }
        /// <summary>
        /// 描述
        /// </summary>
        public string Memo
        {
            set { memo = value; }
            get { return memo; }
        }
        /// <summary>
        /// 操作人员
        /// </summary>
        public long? OptUserID
        {
            set { optUserID = value; }
            get { return optUserID; }
        }
        /// <summary>
        /// 数据状态（1正常 0删除）
        /// </summary>
        public int? Status
        {
            set { status = value; }
            get { return status; }
        }
        /// <summary>
        /// 添加日期
        /// </summary>
        public DateTime? AddTime
        {
            set { addTime = value; }
            get { return addTime; }
        }
        /// <summary>
        /// 修改日期
        /// </summary>
        public DateTime? ModifyTime
        {
            set { modifyTime = value; }
            get { return modifyTime; }
        }

    }
}

